package com.estun.backroundManagementService.modules.testResult.model;

import com.baomidou.mybatisplus.annotation.*;
import com.estun.backroundManagementService.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("t_test_result")
public class TestResult extends BaseEntity {


    @TableField("station_id")
    private String stationId;

    @TableField("product_no")
    private String productNo;

    @TableField("date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    @TableField("result")
    private String result;

    @TableField("condition_name")
    private String conditionName;

    @TableField("test_item")
    private String testItem;

    @TableField("units")
    private String units;

    @TableField("min")
    private String min;

    @TableField("max")
    private String max;

    @TableField("value")
    private String value;

    @TableField("item_result")
    private String itemResult;

    @TableField("model")
    private String model;

    @TableField("submit_status")
    private Integer submitStatus;

    @TableField("submit_number")
    private Integer submitNumber;

}
